package cn.sdormitory.leavingSchool.entity;

import cn.hutool.core.date.DatePattern;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author : yy
 * @date: 2024/9/27 11:05
 * @description:
 */
@Data
@TableName("leaving_school_certificate")
public class LeavingSchoolCertificate  implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId
    private Long id;

    private Long studentId;

    @JsonFormat(pattern = DatePattern.NORM_DATE_PATTERN, timezone = "GMT+8")
    @DateTimeFormat(pattern = DatePattern.NORM_DATE_PATTERN)
    private Date leaveDate;

    private Date create_time;
    private Date modifyTime;
}
